<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <title>ModelSim Coverage Report</title>
  <link rel="StyleSheet" media="screen" href="../css/hdl2html.css"/>
</head>
<body id="hdl2html">
  <tt><a name="1"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;</span><span class="comment">--&nbsp;$Id:&nbsp;$<br/>
<a name="2"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;</span></span><span class="comment">--&nbsp;File&nbsp;name:&nbsp;&nbsp;&nbsp;tb_edge.vhd<br/>
<a name="3"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;</span></span><span class="comment">--&nbsp;Created:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2/17/2011<br/>
<a name="4"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;</span></span><span class="comment">--&nbsp;Author:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Samuel&nbsp;Oshin<br/>
<a name="5"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5&nbsp;&nbsp;</span></span><span class="comment">--&nbsp;Lab&nbsp;Section:&nbsp;337-02<br/>
<a name="6"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6&nbsp;&nbsp;</span></span><span class="comment">--&nbsp;Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0&nbsp;&nbsp;Initial&nbsp;Test&nbsp;Bench<br/>
<a name="7"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp;&nbsp;</span></span><br/>
<a name="8"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8&nbsp;&nbsp;</span><span class="keyword">library</span>&nbsp;ieee;<br/>
<a name="9"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9&nbsp;&nbsp;</span><span class="comment">--library&nbsp;gold_lib;&nbsp;&nbsp;&nbsp;--UNCOMMENT&nbsp;if&nbsp;you're&nbsp;using&nbsp;a&nbsp;GOLD&nbsp;model<br/>
<a name="10"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;10&nbsp;&nbsp;</span></span><span class="keyword">use</span>&nbsp;ieee.std_logic_1164.<span class="keyword">all</span>;<br/>
<a name="11"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;11&nbsp;&nbsp;</span><span class="comment">--use&nbsp;gold_lib.all;&nbsp;&nbsp;&nbsp;--UNCOMMENT&nbsp;if&nbsp;you're&nbsp;using&nbsp;a&nbsp;GOLD&nbsp;model<br/>
<a name="12"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;12&nbsp;&nbsp;</span></span><br/>
<a name="13"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;13&nbsp;&nbsp;</span><span class="keyword">entity</span>&nbsp;tb_edge&nbsp;<span class="keyword">is</span><br/>
<a name="14"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;14&nbsp;&nbsp;</span><span class="keyword">generic</span>&nbsp;(Period&nbsp;:&nbsp;<span class="keytype">Time</span>&nbsp;:=&nbsp;10.42&nbsp;ns);<br/>
<a name="15"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;</span><span class="keyword">end</span>&nbsp;tb_edge;<br/>
<a name="16"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;16&nbsp;&nbsp;</span><br/>
<a name="17"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;17&nbsp;&nbsp;</span><span class="keyword">architecture</span>&nbsp;TEST&nbsp;<span class="keyword">of</span>&nbsp;tb_edge&nbsp;<span class="keyword">is</span><br/>
<a name="18"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;18&nbsp;&nbsp;</span><br/>
<a name="19"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;19&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">component</span>&nbsp;edge<br/>
<a name="20"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;20&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">PORT</span>(<br/>
<a name="21"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;21&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLK&nbsp;:&nbsp;<span class="keyattr">IN</span>&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="22"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;22&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;:&nbsp;<span class="keyattr">IN</span>&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="23"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;23&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_PLUS&nbsp;:&nbsp;<span class="keyattr">IN</span>&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="24"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;24&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_EDGE&nbsp;:&nbsp;<span class="keyattr">OUT</span>&nbsp;<span class="keytype">std_logic</span><br/>
<a name="25"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;25&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;);<br/>
<a name="26"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;26&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">component</span>;<br/>
<a name="27"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;27&nbsp;&nbsp;</span><br/>
<a name="28"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;28&nbsp;&nbsp;</span><span class="comment">--&nbsp;Insert&nbsp;signals&nbsp;Declarations&nbsp;here<br/>
<a name="29"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;29&nbsp;&nbsp;</span></span>&nbsp;&nbsp;<span class="keyword">signal</span>&nbsp;CLK&nbsp;:&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="30"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;30&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">signal</span>&nbsp;RST_N&nbsp;:&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="31"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;31&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">signal</span>&nbsp;D_PLUS&nbsp;:&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="32"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">signal</span>&nbsp;D_EDGE&nbsp;:&nbsp;<span class="keytype">std_logic</span>;<br/>
<a name="33"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;33&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">signal</span>&nbsp;TData&nbsp;&nbsp;:&nbsp;<span class="keytype">std_logic_vector</span>(4&nbsp;<span class="keyword">downto</span>&nbsp;0);<br/>
<a name="34"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;34&nbsp;&nbsp;</span><span class="comment">--&nbsp;signal&nbsp;&lt;name&gt;&nbsp;:&nbsp;&lt;type&gt;;<br/>
<a name="35"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;35&nbsp;&nbsp;</span></span><br/>
<a name="36"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;36&nbsp;&nbsp;</span><span class="keyword">begin</span><br/>
<a name="37"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;37&nbsp;&nbsp;</span><br/>
<a name="38"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;38&nbsp;&nbsp;</span>CLKGEN:&nbsp;<span class="keyword">process</span><br/>
<a name="39"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;39&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">variable</span>&nbsp;clk_tmp:&nbsp;<span class="keytype">std_logic</span>&nbsp;:=&nbsp;'0';<br/>
<a name="40"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;40&nbsp;&nbsp;</span><span class="keyword">begin</span><br/>
<a name="41"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;41&nbsp;&nbsp;</span>&nbsp;&nbsp;clk_tmp&nbsp;:=&nbsp;<span class="keyword">not</span>&nbsp;clk_tmp;<br/>
<a name="42"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;42&nbsp;&nbsp;</span>&nbsp;&nbsp;clk&nbsp;&lt;=&nbsp;clk_tmp;<br/>
<a name="43"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;43&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;Period/2;<br/>
<a name="44"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;44&nbsp;&nbsp;</span><span class="keyword">end</span>&nbsp;<span class="keyword">process</span>;<br/>
<a name="45"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;45&nbsp;&nbsp;</span><br/>
<a name="46"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;46&nbsp;&nbsp;</span>&nbsp;&nbsp;DUT:&nbsp;edge&nbsp;<span class="keyword">port</span>&nbsp;<span class="keyword">map</span>(<br/>
<a name="47"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;47&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLK&nbsp;=&gt;&nbsp;CLK,<br/>
<a name="48"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;48&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;=&gt;&nbsp;RST_N,<br/>
<a name="49"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;49&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_PLUS&nbsp;=&gt;&nbsp;D_PLUS,<br/>
<a name="50"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;50&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_EDGE&nbsp;=&gt;&nbsp;D_EDGE<br/>
<a name="51"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;51&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br/>
<a name="52"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;52&nbsp;&nbsp;</span><br/>
<a name="53"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;53&nbsp;&nbsp;</span><span class="comment">--&nbsp;&nbsp;&nbsp;GOLD:&nbsp;&lt;GOLD_NAME&gt;&nbsp;port&nbsp;map(&lt;put&nbsp;mappings&nbsp;here&gt;);<br/>
<a name="54"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;54&nbsp;&nbsp;</span></span><br/>
<a name="55"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;55&nbsp;&nbsp;</span><span class="keyword">process</span><br/>
<a name="56"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;56&nbsp;&nbsp;</span><br/>
<a name="57"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;57&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">begin</span><br/>
<a name="58"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;58&nbsp;&nbsp;</span><br/>
<a name="59"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;59&nbsp;&nbsp;</span><span class="comment">--&nbsp;Insert&nbsp;TEST&nbsp;BENCH&nbsp;Code&nbsp;Here<br/>
<a name="60"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;60&nbsp;&nbsp;</span></span><br/>
<a name="61"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;61&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;<br/>
<a name="62"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;62&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TData&nbsp;&lt;=&nbsp;<span class="literal">"10011"</span>;<br/>
<a name="63"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;63&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="64"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;64&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&lt;=&nbsp;'0';<br/>
<a name="65"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;65&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="66"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;66&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="67"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;67&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;9&nbsp;ns;<br/>
<a name="68"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;68&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="69"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;69&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="comment">--Iteration&nbsp;1<br/>
<a name="70"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;70&nbsp;&nbsp;</span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="71"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;71&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">for</span>&nbsp;i&nbsp;<span class="keyattr">in</span>&nbsp;0&nbsp;<span class="keyword">to</span>&nbsp;4&nbsp;<span class="keyword">loop</span><br/>
<a name="72"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;72&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="73"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;73&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&lt;=&nbsp;'1';<br/>
<a name="74"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;74&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="75"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;75&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_PLUS&nbsp;&lt;=&nbsp;TData(i);&nbsp;<br/>
<a name="76"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;76&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="77"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;77&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;Period*3;<br/>
<a name="78"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;78&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="79"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;79&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">loop</span>;<br/>
<a name="80"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;80&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="81"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;81&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="comment">--Iteration&nbsp;2<br/>
<a name="82"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;82&nbsp;&nbsp;</span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="83"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;83&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="84"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;84&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TData&nbsp;&lt;=&nbsp;<span class="literal">"01100"</span>;<br/>
<a name="85"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;85&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="86"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;86&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&lt;=&nbsp;'1';<br/>
<a name="87"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;87&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="88"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;88&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;9&nbsp;ns;<br/>
<a name="89"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;89&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="90"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;90&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="comment">--Iteration&nbsp;1<br/>
<a name="91"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;91&nbsp;&nbsp;</span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="92"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;92&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">for</span>&nbsp;i&nbsp;<span class="keyattr">in</span>&nbsp;0&nbsp;<span class="keyword">to</span>&nbsp;4&nbsp;<span class="keyword">loop</span><br/>
<a name="93"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;93&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="94"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;94&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&lt;=&nbsp;'1';<br/>
<a name="95"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;95&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="96"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;96&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_PLUS&nbsp;&lt;=&nbsp;TData(i);&nbsp;<br/>
<a name="97"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;97&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="98"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;98&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;Period*3;<br/>
<a name="99"/><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;99&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="100"/><span style="color:red">&nbsp;&nbsp;&nbsp;100&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">loop</span>;<br/>
<a name="101"/><span style="color:red">&nbsp;&nbsp;&nbsp;101&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="102"/><span style="color:red">&nbsp;&nbsp;&nbsp;102&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="103"/><span style="color:red">&nbsp;&nbsp;&nbsp;103&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="comment">--&nbsp;Iteration&nbsp;3<br/>
<a name="104"/><span style="color:red">&nbsp;&nbsp;&nbsp;104&nbsp;&nbsp;</span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="105"/><span style="color:red">&nbsp;&nbsp;&nbsp;105&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="106"/><span style="color:red">&nbsp;&nbsp;&nbsp;106&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TData&nbsp;&lt;=&nbsp;<span class="literal">"10011"</span>;<br/>
<a name="107"/><span style="color:red">&nbsp;&nbsp;&nbsp;107&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="108"/><span style="color:red">&nbsp;&nbsp;&nbsp;108&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&lt;=&nbsp;'0';<br/>
<a name="109"/><span style="color:red">&nbsp;&nbsp;&nbsp;109&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="110"/><span style="color:red">&nbsp;&nbsp;&nbsp;110&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;9&nbsp;ns;<br/>
<a name="111"/><span style="color:red">&nbsp;&nbsp;&nbsp;111&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="112"/><span style="color:red">&nbsp;&nbsp;&nbsp;112&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="comment">--Iteration&nbsp;1<br/>
<a name="113"/><span style="color:red">&nbsp;&nbsp;&nbsp;113&nbsp;&nbsp;</span></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="114"/><span style="color:red">&nbsp;&nbsp;&nbsp;114&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">for</span>&nbsp;i&nbsp;<span class="keyattr">in</span>&nbsp;0&nbsp;<span class="keyword">to</span>&nbsp;4&nbsp;<span class="keyword">loop</span><br/>
<a name="115"/><span style="color:red">&nbsp;&nbsp;&nbsp;115&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="116"/><span style="color:red">&nbsp;&nbsp;&nbsp;116&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RST_N&nbsp;&lt;=&nbsp;'1';<br/>
<a name="117"/><span style="color:red">&nbsp;&nbsp;&nbsp;117&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="118"/><span style="color:red">&nbsp;&nbsp;&nbsp;118&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;D_PLUS&nbsp;&lt;=&nbsp;TData(i);&nbsp;<br/>
<a name="119"/><span style="color:red">&nbsp;&nbsp;&nbsp;119&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="120"/><span style="color:red">&nbsp;&nbsp;&nbsp;120&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">wait</span>&nbsp;<span class="keyword">for</span>&nbsp;Period*3;<br/>
<a name="121"/><span style="color:red">&nbsp;&nbsp;&nbsp;121&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="122"/><span style="color:red">&nbsp;&nbsp;&nbsp;122&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">loop</span>;<br/>
<a name="123"/><span style="color:red">&nbsp;&nbsp;&nbsp;123&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
<a name="124"/><span style="color:red">&nbsp;&nbsp;&nbsp;124&nbsp;&nbsp;</span><br/>
<a name="125"/><span style="color:red">&nbsp;&nbsp;&nbsp;125&nbsp;&nbsp;</span>&nbsp;&nbsp;<span class="keyword">end</span>&nbsp;<span class="keyword">process</span>;<br/>
<a name="126"/><span style="color:red">&nbsp;&nbsp;&nbsp;126&nbsp;&nbsp;</span><span class="keyword">end</span>&nbsp;TEST;<br/>
</tt>
  <!-- make sure jumps to last few line nos work -->
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
  
</body>
</html>
